package com.xishu.entity.customer;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;

/**
 * 积分和优惠卷的兑换关系
 */
@Entity(name = "score_discount_ticket")
public class ScoreDiscountTicket extends AbstractEntity {
    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "积分")
    private Integer score;

    @ApiModelProperty(value = "优惠卷id")
    private Long discountTicketId;

    @ApiModelProperty(value = "优惠卷的中文名")
    private String ticket_zh;

    @ApiModelProperty(value = "优惠卷的英文名")
    private String ticket_en;

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Long getDiscountTicketId() {
        return discountTicketId;
    }

    public void setDiscountTicketId(Long discountTicketId) {
        this.discountTicketId = discountTicketId;
    }

    public String getTicket_zh() {
        return ticket_zh;
    }

    public void setTicket_zh(String ticket_zh) {
        this.ticket_zh = ticket_zh;
    }

    public String getTicket_en() {
        return ticket_en;
    }

    public void setTicket_en(String ticket_en) {
        this.ticket_en = ticket_en;
    }
}
